package com.nashuju.web.entity.sw;

import java.util.Date;

import org.durcframework.core.expression.annotation.ValueField;
import org.durcframework.core.support.SearchEasyUI;
import org.durcframework.core.util.DateUtil;


public class SCustomerSch extends SearchEasyUI{

	//根据时间进行搜索的部分
	private Date createdStartSch;
	private Date createdEndSch;

	@ValueField(column = "createdTime", equal = ">=")
	public Date getCreatedStartSch() {
		return createdStartSch;
	}

	public void setCreatedStartSch(Date createdStartSch) {
		this.createdStartSch = createdStartSch;
	}

	@ValueField(column = "createdTime", equal = "<")
	public Date getCreatedEndSch() {
		if (createdEndSch != null) {
			return DateUtil.getDateAfterDay(createdEndSch, 1);
		}
		return createdEndSch;
	}

	public void setCreatedEndSch(Date createdEndSch) {
		this.createdEndSch = createdEndSch;
	}


    private Integer idSch;
    private String full_nameSch;
    private String short_nameSch;
    private String levelSch;
    private Integer config_idSch;
    private String propertySch;
    private Integer user_idSch;
    private String commentSch;
    private String provinceSch;
    private String countySch;
    private String local_xSch;
    private String local_ySch;
    private String siteSch;
    private String postcodeSch;
    private String potentialSch;
    private String traffic_routeSch;
    private String addressSch;
    private String superior_belongSch;
    private String info_contextSch;
    private String fixedPhoneSch;
    private String bzNumberSch;

    public void setIdSch(Integer idSch){
        this.idSch = idSch;
    }
    
    @ValueField(column = "id")
    public Integer getIdSch(){
        return this.idSch;
    }

    public void setFullNameSch(String full_nameSch){
        this.full_nameSch = full_nameSch;
    }
    
    @ValueField(column = "full_name")
    public String getFullNameSch(){
        return this.full_nameSch;
    }

    public void setShortNameSch(String short_nameSch){
        this.short_nameSch = short_nameSch;
    }
    
    @ValueField(column = "short_name")
    public String getShortNameSch(){
        return this.short_nameSch;
    }

    public void setLevelSch(String levelSch){
        this.levelSch = levelSch;
    }
    
    @ValueField(column = "level")
    public String getLevelSch(){
        return this.levelSch;
    }

    public void setConfigIdSch(Integer config_idSch){
        this.config_idSch = config_idSch;
    }
    
    @ValueField(column = "config_id")
    public Integer getConfigIdSch(){
        return this.config_idSch;
    }

    public void setPropertySch(String propertySch){
        this.propertySch = propertySch;
    }
    
    @ValueField(column = "property")
    public String getPropertySch(){
        return this.propertySch;
    }

    public void setUserIdSch(Integer user_idSch){
        this.user_idSch = user_idSch;
    }
    
    @ValueField(column = "user_id")
    public Integer getUserIdSch(){
        return this.user_idSch;
    }

    public void setCommentSch(String commentSch){
        this.commentSch = commentSch;
    }
    
    @ValueField(column = "comment")
    public String getCommentSch(){
        return this.commentSch;
    }

    public void setProvinceSch(String provinceSch){
        this.provinceSch = provinceSch;
    }
    
    @ValueField(column = "province")
    public String getProvinceSch(){
        return this.provinceSch;
    }

    public void setCountySch(String countySch){
        this.countySch = countySch;
    }
    
    @ValueField(column = "county")
    public String getCountySch(){
        return this.countySch;
    }

    public void setLocalXSch(String local_xSch){
        this.local_xSch = local_xSch;
    }
    
    @ValueField(column = "local_x")
    public String getLocalXSch(){
        return this.local_xSch;
    }

    public void setLocalYSch(String local_ySch){
        this.local_ySch = local_ySch;
    }
    
    @ValueField(column = "local_y")
    public String getLocalYSch(){
        return this.local_ySch;
    }

    public void setSiteSch(String siteSch){
        this.siteSch = siteSch;
    }
    
    @ValueField(column = "site")
    public String getSiteSch(){
        return this.siteSch;
    }

    public void setPostcodeSch(String postcodeSch){
        this.postcodeSch = postcodeSch;
    }
    
    @ValueField(column = "postcode")
    public String getPostcodeSch(){
        return this.postcodeSch;
    }

    public void setPotentialSch(String potentialSch){
        this.potentialSch = potentialSch;
    }
    
    @ValueField(column = "potential")
    public String getPotentialSch(){
        return this.potentialSch;
    }

    public void setTrafficRouteSch(String traffic_routeSch){
        this.traffic_routeSch = traffic_routeSch;
    }
    
    @ValueField(column = "traffic_route")
    public String getTrafficRouteSch(){
        return this.traffic_routeSch;
    }

    public void setAddressSch(String addressSch){
        this.addressSch = addressSch;
    }
    
    @ValueField(column = "address")
    public String getAddressSch(){
        return this.addressSch;
    }

    public void setSuperiorBelongSch(String superior_belongSch){
        this.superior_belongSch = superior_belongSch;
    }
    
    @ValueField(column = "superior_belong")
    public String getSuperiorBelongSch(){
        return this.superior_belongSch;
    }

    public void setInfoContextSch(String info_contextSch){
        this.info_contextSch = info_contextSch;
    }
    
    @ValueField(column = "info_context")
    public String getInfoContextSch(){
        return this.info_contextSch;
    }

    public void setFixedPhoneSch(String fixedPhoneSch){
        this.fixedPhoneSch = fixedPhoneSch;
    }
    
    @ValueField(column = "fixed_phone")
    public String getFixedPhoneSch(){
        return this.fixedPhoneSch;
    }

    public void setBzNumberSch(String bzNumberSch){
        this.bzNumberSch = bzNumberSch;
    }
    
    @ValueField(column = "bz_number")
    public String getBzNumberSch(){
        return this.bzNumberSch;
    }
}